package com.mystudy.selfCheck;

/**
 * @program: infoalgorithm
 * @description: 父类Demo
 * @author: zhouzhilong
 * @create: 2018-09-11 10:36
 **/
public class Parent {
    private int x = 1000;

    public Parent() {
        System.out.println(this.getClass());
        System.out.println(this.x);
    }

    public void show(){
        System.out.println("this is father");
        this.show();
    }

}
